package com.example.zlpermissionservice.dto.response;

import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @Author zhenliu（孙凌岳）
 * @Description AI生成 - 资源树显示类
 * @Date 2025/6/17 11:13
 * @Version 1.0
 */
@Data
@NoArgsConstructor
public class TreeResDTO implements Serializable {
    @ApiModelProperty(value = "tree数据")
    private List<TreeItemResDTO> items;

    @Builder
    public TreeResDTO(List<TreeItemResDTO> items) {
        this.items = items;
    }
}
